package day03.homework;

public class OperDemo3 {
    public static void main(String[] args) {
        int a=21,b=23,c=24;
        System.out.println(a<=b && a>=c);//true&&false=false
        System.out.println(b>=c && a<b);//false&&true=false
        System.out.println(a>b && b>c);//false&&false=false
        System.out.println(a<c && b<c);//true&&true=true
        System.out.println("-------------------------------");

        System.out.println(a<=b || a>=c);//true||false=true
        System.out.println(b>=c || a<b);//false||true=true
        System.out.println(a>b || b>c);//false||false=false
        System.out.println(a<c || b<c);//true||true=true
        System.out.println("-------------------------------");

        System.out.println(!(a+b>c));//false
        System.out.println("-------------------------------");

        System.out.println(a>c && b++>=c);//false
        System.out.println(b);//23
        System.out.println(a+c<b+c || --b>a);//true
        System.out.println(b);//23

    }
}
